package com.AJava1710D.bingfabao.condition;

/**
 * 作者: LCG
 * 日期: 2020/6/24 08:40
 * 描述:
 */
public class TestCondition {

    public static void main(String[] args) throws InterruptedException {

          TestConditionUtis testConditionUtis=new TestConditionUtis();

          ThreadAA threadAA=new ThreadAA(testConditionUtis);
          threadAA.start();

          TreadBB treadBB=new TreadBB(testConditionUtis);
          treadBB.start();

          Thread.sleep(2000);

          testConditionUtis.singalA();

          testConditionUtis.singalB();


    }

}
